home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Nebula 1
/
Nebula One.iso
/
Mail
/
pine3.92
/
pine
/
makefile.wnt
< prev
next >
Wrap
Makefile
|
1996-03-15
|
4KB
|
127 lines
# $Id: makefile.wnt,v 4.6 1996/03/15 21:08:26 mikes Exp $
#
# T H E P I N E M A I L S Y S T E M
#
# Laurence Lundblade and Mike Seibel
# Networks and Distributed Computing
# Computing and Communications
# University of Washington
# Administration Building, AG-44
# Seattle, Washington, 98195, USA
# Internet: lgl@CAC.Washington.EDU
# mikes@CAC.Washington.EDU
#
# Please address all bugs and comments to "pine-bugs@cac.washington.edu"
#
#
# Pine and Pico are registered trademarks of the University of Washington.
# No commercial use of these trademarks may be made without prior written
# permission of the University of Washington.
#
# Pine, Pico, and Pilot software and its included text are Copyright
# 1989-1996 by the University of Washington.
#
# The full text of our legal notices is contained in the file called
# CPYRIGHT, included with this distribution.
#
#
# Pine is in part based on The Elm Mail System:
# ***********************************************************************
# * The Elm Mail System - Revision: 2.13 *
# * *
# * Copyright (c) 1986, 1987 Dave Taylor *
# * Copyright (c) 1988, 1989 USENET Community Trust *
# ***********************************************************************
#
#
#
# Make file for the Pine mail system for Windows NT 3.51
#
#
CC=cl
CP=copy
RM=del
MAKE=nmake
# Most commonly fiddled flags for compiler.
# Uncomment the setttings desired here
PROFILE= # -pg
OPTIMIZE= # -Os
DEBUG= -Zi -Od -DDEBUG
CBASIC= -nologo -MT -DWIN32 -D_WINDOWS -DDOS -DMOUSE -DSYSTYPE=\"WNT\" -DMSC_MALLOC
CFLAGS= $(OPTIMIZE) $(DEBUG) $(CBASIC)
LINKSCRIPT=
LDEBUG= /DEBUG /DEBUGTYPE:CV
LFLAGS= $(LDEBUG) # /NODEFAULTLIB:libc.lib
LIBS= ..\pico\libpico.lib ..\c-client\cclient.lib oldnames.lib wsock32.lib user32.lib gdi32.lib shell32.lib comdlg32.lib
HEADERS= headers.h pine.h os.h helptext.h context.h \
../c-client/mail.h ../c-client/osdep.h
OBJ= addrbook.obj adrbklib.obj args.obj context.obj \
filter.obj folder.obj help.obj imap.obj init.obj mailcap.obj \
mailcmd.obj mailindx.obj mailpart.obj mailview.obj newmail.obj \
os.obj other.obj pine.obj reply.obj screen.obj send.obj \
signals.obj status.obj strings.obj ttyin.obj ttyout.obj mswinver.obj
all: pine.exe
tags:
ctags -s -t ..\\TAGS -m -h -p *.h *.c
.c.obj:
$(CC) -c $(CFLAGS) $(MAKEDIR)\$*.c
os.h: osdep\os-wnt.h
$(RM) os.h
$(CP) osdep\os-wnt.h os.h
os.c: osdep\os-wnt.c
$(RM) os.c
$(CP) osdep\os-wnt.c os.c
osdep\os-wnt.c: osdep\bld_path.dos osdep\canacces osdep\canonicl.dos \
osdep\chnge_pw.dos osdep\coredump osdep\creatdir.dos \
osdep\dialog.win osdep\diskquot.non osdep\domnames.dos \
osdep\err_desc.dos osdep\expnfldr.dos osdep\filesize \
osdep\fltrname.dos osdep\fnexpand.dos osdep\header \
osdep\hostname osdep\jobcntrl.dos osdep\lstcmpnt.dos \
osdep\mimedisp osdep/pipe.win osdep/print.win \
osdep\pw_stuff.dos osdep\debuging.dos osdep\readfile.dos \
osdep\rename.dos osdep\tempfile osdep\tempnam.dos \
osdep\fgetpos osdep\writ_dir osdep\sendmail.dos \
osdep\execview.win osdep\os-wnt.ic osdep\winextra
cd osdep
$(MAKE) -f makefile.dos includer.exe os-wnt.c
cd ..
helpindx.exe: helpindx.c
cl helpindx.c
pine.ndx: helpindx.exe pine.hlp
helpindx pine.hlp pine.ndx helptext.h
helptext.h: pine.ndx
#helptext.c: pine.hlp
# ./cmplhelp.sh < pine.hlp > helptext.c
$(OBJ): $(HEADERS)
mswinver.obj: osdep\mswinver.c
$(CC) /c $(CFLAGS) osdep\mswinver.c
osdep\mswin.res: osdep\mswin.rc osdep\mswin.ico osdep\mswin.bmp
cd osdep
$(RC) $(RCFLAGS) /fo mswin.res mswin.rc
cd ..
pine.exe: $(OBJ) osdep\mswin.def ..\c-client\cclient.lib ..\pico\libpico.lib osdep\mswin.res
..\pico\blddate > bdate.c
$(CC) /c $(CFLAGS) bdate.c
link /subsystem:windows /out:pine.exe $(LFLAGS) bdate.obj $(OBJ) osdep\mswin.res $(LIBS)